﻿using ProjectFootball.MVC.Foundation.ResourceLibrary;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace ProjectFootball.MVC.Models.EntityFramework.Entities
{
    public class LookupPerson
    {
        #region Columns
        [Key]
        public Guid LookupPersonGuid { get; set; }

        public ImportSite ImportSite { get; set; }

        [ForeignKey("Person")]
        public Guid PersonGuid { get; set; }

        public string SitePersonId { get; set; }
        #endregion

        #region Navigation properties
        [ForeignKey("PersonGuid")]
        public virtual Person Person { get; set; }
        #endregion
    }
}